home *** CD-ROM | disk | FTP | other *** search
/ BBS Toolkit / BBS Toolkit.iso / doors_2 / sfsubbd.zip / README.1ST next >
Text File  |  1990-08-26  |  4KB  |  94 lines

  1. SFSUBBD.EXE
  2. -----------
  3.  
  4.   This is just a quick little utility to help Sysops set up another copy
  5.   of Spitfire as a Sub-Board running in a door.
  6.  
  7.   SFSUBBD will examine your Spitfire SFDOORS.DAT file and determine the
  8.   proper command line to be used in executing the Sub-Board copy of
  9.   Spitfire.
  10.  
  11.   You do not need to use any DTE Unlock procedures with this program.
  12.   SFSUBBD will properly report the callers connect speed to Spitfire,
  13.   which will determine the proper comm port handling based on this
  14.   information and your sub-board's ALT-M modem setup.
  15.  
  16.   You are responsible for preparing the startup batch file for your
  17.   sub-board.  SFSUBBD writes ONLY the Spitfire command line to it's
  18.   batch file (SFSUBCMD.BAT) which you can CALL from YOUR sub-door's
  19.   version of SF.BAT.
  20.  
  21.   SFSUBBD requires the Main Board node directory on the command line.
  22.   In addition to the Main board node directory, one possible command line
  23.   switch: /D If the /D switch is present, SFSUBBD will report and use the
  24.   DTE link rate.  If this switch is NOT present, SFSUBBD will report the
  25.   Caller's Connect Rate.
  26.  
  27.   SFSUBBD also set a DOS ERRORLEVEL on exit, in order to make it
  28.   useful for other purposes as well.  Since a DOS ERRORLEVL must be in the
  29.   range of 0-255, the following chart should be used:
  30.  
  31.       Baud Rate         ERRORLEVEL
  32.       ---------         ----------
  33.         LOCAL               0
  34.           300               3
  35.          1200              12
  36.          2400              24
  37.          9600              96
  38.         19200             192
  39.         38400             200
  40.  
  41.         ERROR             255
  42.  
  43.  
  44.   Your Sub-board Door section of SF.BAT should look like this:
  45. --------------------------------------------------------------------------
  46. REM START OF SUBBOARD DOOR BATCH COMMANDS
  47.  
  48. :DOOR_A
  49.  
  50.   CD \SUBBD                         <- change to the Sub-board node
  51.                                        directory
  52.   SET PPATH=%PATH%                  <- store the current Main Board path
  53.   SET PATH=C:\SUBBD;C:\UTI2;%PATH%  <- add any special paths needed by the
  54.                                        sub-board
  55.  
  56.   CALL SFSUB.BAT                    <- call the version of SF.BAT that runs
  57.                                        the sub-board
  58.   SET PATH=%PPATH%                  <- restore the main board path
  59. GOTO LOOP
  60. REM END OF SUBBOARD DOOR BATCH COMMANDS
  61. ----------------------------------------------------------------------------
  62.  
  63. And, the top of the SF.BAT file for the SUB-BOARD should read:
  64. (it is recommended to give it another name, like SFSUB.BAT as used in
  65.  the above example)
  66.  
  67. :LOOP
  68. CD \SUBBD                         <- force back to the proper directory
  69. SFSUBBD C:\SF                     <- point to the main board directory
  70.                                      for this node and ask for Caller's
  71.                                      connect rate
  72.  
  73. CALL SFSUBCMD                     <- call the batch file with the
  74.                                      Spitfire command line.  This
  75.                                      REPLACES the line that normally
  76.                                      runs SPITFIRE.EXE
  77.  
  78. IF ERRORLEVEL ......  and the sf.bat goes on
  79.                                      
  80. ----------------------------------------------------------------------------
  81. Try it!  Setting up a sub-board has never been easier!!
  82. Your sub-board can run it's own doors, have it's own message bases, etc.
  83.  
  84.  
  85. SFSUBBD.EXE is FreeWare from the people who brought you SFUTI, and may
  86. be distributed freely.  This one's a freebie!
  87.  
  88. Smart Office Solutions
  89. 84 South Division Street
  90. New Rochelle, NY 10805
  91.  
  92. RIME/Intelec NODE ID: SOLUTION
  93.  
  94.